interface FormItemProps {
  id?: number;
  /** 用于判断是`新增`还是`修改` */
  title?: string;
  patentName: string;
  patentNumber: string;
  acceptanceDate: string;
  acceptanceFiles: string;
  authorizeDate: string;
  authorizeFiles: string;
  firstInventor: string;
  firstInventorType: string;
  issueDate: string;
  issueFiles: string;
  obtainDate: string;
  obtainDateFiles: string;
  obtainReward: number;
  patentType: string;
  rewardLevel: string;
  rewardName: string;
  secondInventor: string;
  secondInventorType: string;
  showTwoInventor?: boolean;
  transform: number;
  transformFiles: string;
  transformPrice: number;
  userIds: Array<number>;
  score: number;
  examineStatus?: number;
  examineDesc?: string;
  sendDate?: string;
  belongCountry?: string;
  patentee?: string;
  patenteeList?: any[];
}
interface FormProps {
  formInline: FormItemProps;
  dataId?: number;
  userList?: any[];
}

interface RoleFormItemProps {
  username: string;
  nickname: string;
  /** 角色列表 */
  roleOptions: any[];
  /** 选中的角色列表 */
  ids: Record<number, unknown>[];
}
interface RoleFormProps {
  formInline: RoleFormItemProps;
}

export type { FormItemProps, FormProps, RoleFormItemProps, RoleFormProps };
